(function () {
  let arr = [
    {
      title: "设备总数",
      num: "2,190",
      iconColor: "#006cff",
    },
    {
      title: "季度新增",
      num: "1,190",
      iconColor: "#6acca3",
    },
    {
      title: "运营设备",
      num: "3,521",
      iconColor: "#6acca3",
    },
    {
      title: "异常设备",
      num: "108",
      iconColor: "#ed3f35",
    },
  ];
  arr.forEach(obj => {
    let theDiv = `<div class="item">
        <h4>${obj.num}</h4>
        <span>
            <i class="icon-dot" style="color: ${obj.iconColor}"></i>
            ${obj.title}
        </span>
    </div>`;
    $('.overview .inner').append(theDiv)
  });
})();
